package com.tilas.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClazzQueryParam {
    private Integer page;//页码
    private Integer pageSize;//每页记录数
    private String name;

    @DateTimeFormat(pattern = "YYYY/MM/DD")
    private LocalDate begin;//开始时间
    @DateTimeFormat(pattern = "YYYY/MM/DD")
    private LocalDate end;//结束时间
}
